<h3>Konfirmasi Hapus Artikel</h3>
<?php
if(isset($_GET['DelSign'])){
$ID=$_GET['id'];
$qd="DELETE FROM `syarat` WHERE `idSyarat`='$ID'";
mysql_query($qd);
header("Location:?mod=artikel");
}
$id     = $_GET['id'];
$q      = "SELECT * FROM `syarat` WHERE `idSyarat`='$id'";
$mq     = mysql_query($q);
$r      = mysql_fetch_array($mq);

tinyeditor();

?>
<div id="conf">Apakah Benar anda akan menghapus Syarat berikut dibawah?</div>
<form>
<table class="table-common">
<tr>
<th>Judul Syarat</th><td><input type="text" value="<?php echo $r[1];?>" disabled></td>
</tr>
<tr>
<th>Isi Syarat</th><td style="height:200px; overflow:scroll;"><?php echo $r[2]; ?></td>
</tr>
<tr>
<th>Image Artikel</th><td style="height:200px; overflow:scroll;"><img src="<?php echo $r[3]; ?>" height="100px"></td>
</tr>

</table>
</form>


<div style="margin-top:20px">
<div class="tombol"><a href="?mod=<?php echo $mod;?>&act=delete&id=<?php echo $id;?>&DelSign=1" target="blank">HAPUS</a></div><div class="tombol"><a href="?mod=<?php echo $mod;?>">BATAL</a></div>
</div>
